home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / TERMINAL / 1589.ZIP / RELATE.H < prev    next >
Text File  |  1989-03-29  |  5KB  |  73 lines

  1.  
  2. #include "termdefs.h"
  3.  
  4. struct relations emulate[] =
  5.    {
  6.    {"ae", {NULL}, 0, ENDALTERNATE   }, /* End alternate character set       */
  7.    {"al", {NULL}, 0, BLANKLINE      }, /* Add new blank line                */
  8.    {"am", {NULL}, 0, AUTOMARGINS    }, /* Terminal has automatic margins    */
  9.    {"as", {NULL}, 0, STARTALTERNATE }, /* Start alternate character set     */
  10.    {"BH", {NULL}, 0, BOTTOMHORZ     }, /* Bottom horizontal                 */
  11.    {"bl", {NULL}, 0, BELL           }, /* Audible signal BELL               */
  12.    {"BL", {NULL}, 0, BOTTOMLEFT     }, /* Bottom Left corner box character  */
  13.    {"BR", {NULL}, 0, BOTTOMRIGHT    }, /* Bottom right corner box character */
  14.    {"cd", {NULL}, 0, CLEARTOBOTTOM  }, /* Clear to end of display           */
  15.    {"ce", {NULL}, 0, CLEARENDLINE   }, /* Clear to end of line              */
  16.    {"cl", {NULL}, 0, CLEARANDHOME   }, /* Clear and home cursor             */
  17.    {"cr", {NULL}, 0, CARRAGERETURN  }, /* Carrage Return                    */
  18.    {"cm", {NULL}, 0, CURSORADDRESS  }, /* Cursor address, row col           */
  19.    {"co", "=#80:",0, NUMBERCOLUMNS  }, /* Columns                           */
  20.    {"dc", {NULL}, 0, DELETECHAR     }, /* Delete character                  */
  21.    {"dl", {NULL}, 0, DELETELINE     }, /* Delete Line                       */
  22.    {"do", {NULL}, 0, DOWNLINE       }, /* Down one line                     */
  23.    {"ei", {NULL}, 0, ENDINSERT      }, /* End insert mode                   */
  24.    {"ho", {NULL}, 0, HOMECURSOR     }, /* Home Cursor                       */
  25.    {"im", {NULL}, 0, INSERTMODE     }, /* Insert mode                       */
  26.    {"kb", {NULL}, 0, BACKSPACE      }, /* Sent by backspace key             */
  27.    {"kd", {NULL}, 0, DOWNARROW      }, /* Sent by terminal down arrow key   */
  28.    {"kl", {NULL}, 0, LEFTARROW      }, /* Sent by terminal left arrow key   */
  29.    {"kr", {NULL}, 0, RIGHTARROW     }, /* Sent by terminal right arrow key  */
  30.    {"ku", {NULL}, 0, UPARROW        }, /* Sent by terminal up arror key     */
  31.    {"k1", {NULL}, 0, FUNCTION1      }, /* Sent by terminal F1 key           */
  32.    {"k2", {NULL}, 0, FUNCTION2      }, /* Sent by terminal F2 key           */
  33.    {"k3", {NULL}, 0, FUNCTION3      }, /* Sent by terminal F3 key           */
  34.    {"k4", {NULL}, 0, FUNCTION4      }, /* Sent by terminal F4 key           */
  35.    {"k5", {NULL}, 0, FUNCTION5      }, /* Sent by terminal F5 key           */
  36.    {"k6", {NULL}, 0, FUNCTION6      }, /* Sent by terminal F6 key           */
  37.    {"k7", {NULL}, 0, FUNCTION7      }, /* Sent by terminal F7 key           */
  38.    {"k8", {NULL}, 0, FUNCTION8      }, /* Sent by terminal F8 key           */
  39.    {"k9", {NULL}, 0, FUNCTION9      }, /* Sent by terminal F9 key           */
  40.    {"k0", {NULL}, 0, FUNCTION0      }, /* Sent by terminal F10 key          */
  41.    {"k11",{NULL}, 0, FUNCTION11     }, /* Sent by terminal F11 key          */
  42.    {"k12",{NULL}, 0, FUNCTION12     }, /* Sent by terminal F12 key          */
  43.    {"k13",{NULL}, 0, FUNCTION13     }, /* Sent by terminal F13 key          */
  44.    {"k14",{NULL}, 0, FUNCTION14     }, /* Sent by terminal F14 key          */
  45.    {"k15",{NULL}, 0, FUNCTION15     }, /* Sent by terminal F15 key          */
  46.    {"k16",{NULL}, 0, FUNCTION16     }, /* Sent by terminal F16 key          */
  47.    {"LA", {NULL}, 0, LINEATTRIBUTE  }, /* Line draw character attribute     */
  48.    {"le", {NULL}, 0, CURSORLEFT     }, /* Move cursor left one space        */
  49.    {"li", "=#24:",0, NUMBERLINES    }, /* Lines                             */
  50.    {"ll", {NULL}, 0, LASTLINE       }, /* Last line, first colume           */
  51.    {"ms", {NULL}, 0, SAFETOMOVE     }, /* Safe to move in standout mode     */
  52.    {"nd", {NULL}, 0, SPACERIGHT     }, /* Non-distructive space, right      */
  53.    {"nw", {NULL}, 0, NEWLINE        }, /* Newline, behaves like cr/lf       */
  54.    {"sf", {NULL}, 0, SCROLLUP       }, /* Scroll text up                    */
  55.    {"se", {NULL}, 0, ENDSTANDOUT    }, /* End standout mode (normal)        */
  56.    {"so", {NULL}, 0, BEGINSTANDOUT  }, /* Begin standout mode (highlight)   */
  57.    {"TH", {NULL}, 0, TOPSIDECHAR    }, /* Top side box character            */
  58.    {"TL", {NULL}, 0, UPPERLEFTCHAR  }, /* Upper left corner box character   */
  59.    {"TR", {NULL}, 0, UPPERRIGHTCHAR }, /* Upper right corner box character  */
  60.    {"ue", {NULL}, 0, ENDUNDERSCORE  }, /* End underscore mode               */
  61.    {"up", {NULL}, 0, CURSORUP       }, /* Cursor up                         */
  62.    {"us", {NULL}, 0, STARTUSCORE    }, /* Start underscore mode             */
  63.    {"ve", {NULL}, 0, CURSORNORMAL   }, /* Make cursor appear normal         */
  64.    {"vs", {NULL}, 0, CURSORBRIGHT   }, /* Make cursor very visible          */
  65.    {"vi", {NULL}, 0, CURSORGONE     }, /* Make cursor invisible             */
  66.    {"VL", {NULL}, 0, LEFTBOXCHAR    }, /* Left-hand side box character      */
  67.    {"VR", {NULL}, 0, RIGHTBOXCHAR   }, /* Right-hand side box character     */
  68.    {"xo", {NULL}, 0, XONXOFF        }, /* Terminal user xon/xoff handshaking*/
  69.    {"rd", {NULL}, 0, CURSORATTR     }, /* Cursor Attribute                  */
  70.    {{NULL},{NULL},0, 0              }  /* End of list                       */
  71.    }                         ;
  72.  
  73.